package com.goods.business.service;

import com.goods.common.model.business.Consumer;
import com.goods.common.vo.business.ConsumerVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;

public interface ConsumeService {
    PageVO<ConsumerVO> findConsumerList(ConsumerVO consumerVO, Integer pageNum, Integer pageSize);

    void add(Consumer consumer);

    void update(Consumer consumer, Long consumerId);

    void delete(Long consumerId);

    Consumer edit(Long consumerId);

    List<Consumer> findAll();

}
